package com.qinsheng.domain.strategy.service.rule.chain;

import com.qinsheng.domain.strategy.service.rule.chain.factory.DefaultChainFactory;

/**
 * ClassName: ILoginChain
 * Description:责任链接口
 *
 * @Author: qinsheng1900
 * @Create 2025/3/2 15:29
 * @Version 1.0
 */
public interface ILogicChain extends ILogicChainArmory{

    /**
     * 责任链接口
     * @param userId       用户ID
     * @param strategyId   策略ID
     * @return awardId     奖品ID
     */
    DefaultChainFactory.StrategyAwardVO logic(String userId, Long strategyId);


}
